﻿using MediatR;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Architecture.Api.Application.Commands.SlaughterCommand
{
    public class SlaughterCreateCommand : IRequest<int>
    {
        /// <summary>
        /// 屠宰Id
        /// </summary>
        public int SId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? ProductionLot { get; set; }

        /// <summary>
        /// 到厂均重
        /// </summary>
        public decimal WeightToFactory { get; set; }

        /// <summary>
        /// 到厂时间
        /// </summary>
        public string? ArrivalTime { get; set; }

        /// <summary>
        /// 屠宰时间
        /// </summary>
        public string? SlaughterTime { get; set; }

        /// <summary>
        /// 相关资质
        /// </summary>
        public string? RelevantQualification { get; set; }

        /// <summary>
        /// 屠宰公司
        /// </summary>
        public int SlaughteringCompanyId { get; set; }
    }
}
